package com.zhangguo.springmvc01.entities;

import java.util.List;

/**
 * @author wangxing
 * @version 2020/6/1 11:01 Administrator
 */
public class Car {
    /**编号*/
    private int id;
    /**名称*/
    private String name;
    /**价格*/
    private double price;

    @Override
    public String toString() {
        return "Car{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", ids=" + ids +
                '}';
    }

    private List<Integer> ids;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }
}
